import "./App.scss";
import { useLocation, useRoutes } from "react-router-dom";
import routes from "@/router";
import React from "react";

console.log(import.meta.env.MODE);
function App() {
  const outlet = useRoutes(routes);

  return (
    <div className="App">
      {/*<React.Suspense fallback={<div>Loading...</div>}>{outlet}</React.Suspense>*/}
      {outlet}
    </div>
  );
}

export default App;
